//
//  HeroCollectionCell.m
//  LOL_JewelBox
//
//  Created by dllo on 15/4/21.
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#import "HeroCollectionCell.h"

@implementation HeroCollectionCell
- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        self.contentView.backgroundColor = [UIColor whiteColor];

        self.heroNameLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, CONTENTHEIGHT * 100 / 110,CONTENTWIDTH *  85 / 85, self.CONTENTHEIGHT * 10 / 110)];
        [self.contentView addSubview:self.heroNameLabel];

        [_heroNameLabel release];



          self.heroTitleLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, CONTENTHEIGHT * 88 / 110,CONTENTWIDTH *  85 / 85, CONTENTHEIGHT * 10 / 110)];
        [self.contentView addSubview:self.heroTitleLabel];
        [_heroTitleLabel release];




          self.heroIronImageView = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0,CONTENTWIDTH *  85 / 85, CONTENTHEIGHT * 85 / 110)];


        [self.contentView addSubview:self.heroIronImageView];
        [_heroIronImageView release];



    }


    return self;


}

- (void)dealloc
{
    [_heroNameLabel release];
    [_heroIronImageView release];
    [_heroTitleLabel release];
    [super dealloc];
}

@end
